﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Future.Contract
{
    // 客户端命令
    [Serializable]
    public enum TaskCommandEnums
    {
        [EnumMember]
        None   = 0,

        [EnumMember]
        Insert = 1,

        [EnumMember]
        Update = 2,

        [EnumMember]
        Delete = 3,

        [EnumMember]
        Select = 4,

        [EnumMember]
        Check  = 5,

        [EnumMember]
        UnCheck = 6,

        [EnumMember]
        ReCheck = 7,
    }

    [Serializable]
    public enum TaskDALEnums
    {
        [EnumMember]
        None = 0,

        [EnumMember]
        DeptDAL = 1,

        [EnumMember]
        xHeadDAL = 2,

        [EnumMember]
        xDetailDAL = 3,
    }

    [Serializable]
    public enum WcfDataType
    {
        [EnumMember]
        Buffer = 0,

        [EnumMember]
        Json = 1,
    }

    [Serializable]
    public enum EntityState
    {
        [EnumMember]
        None = 0,

        [EnumMember]
        Select = 1,

        [EnumMember]
        Update = 2,

        [EnumMember]
        Delete = 3,

        [EnumMember]
        Insert = 4,
    }
}
